raar.agent.process
Interface RAAgentDependentProcess

All Known Implementing Classes:
RACameraSensor, RACompass, RAExternalSensor, RAFactory, RAGripSensor, RALightSensor, RAObjectSensor, RARegionSensor, RARegionSensor_Pie, RASensor, RASensor_AgentIsExternal, RASonarSensor

public interface RAAgentDependentProcess

Processes that depend on an agent must implement this, because some parts of agents are not serializable. When the program saves a process or agent, we need to remove the reference to the agent, to restore it when the process is loaded again.


Field Summary
static java.lang.String NO_AGENT_DEFINED
          No agent defined.
 
Method Summary
 void removeReferenceToAgent()
          Remove agent reference.
 void setReferenceToAgent(RAAgent a)
          Restore agent reference.
 

Field Detail

NO_AGENT_DEFINED

static final java.lang.String NO_AGENT_DEFINED
No agent defined.

See Also:
Constant Field Values
Method Detail

removeReferenceToAgent

void removeReferenceToAgent()
Remove agent reference.


setReferenceToAgent

void setReferenceToAgent(RAAgent a)
Restore agent reference.